//智慧安防apis
const securityApi=(vm)=>{
    return{
		//查询安全教育列表
        afSafetyEducationList:(data)=>{
            return vm.$u.get('/security/afSafetyEducation/list',data)
        },
        //查询安全教育详情
        afSafetyEducationInfo:(id)=>{
            return vm.$u.get(`/security/afSafetyEducation/${id}`)
        },
        //查询电梯管理列表
        afElevatorList:(data)=>{
            return vm.$u.get('/security/afElevator/list',data)
        },
        //获取电梯管理详细信息
        afElevatorInfo:(id)=>{
            return vm.$u.get(`/security/afElevator/${id}`)
        },
        //消防设备维护
        afMaintenance:(data)=>{
            return vm.$u.post(`/security/afMaintenance`,data)
        },

    }
}


export default securityApi